import React from 'react'
import CustomMenu from "../CustomMenu/index";
import log from '../../assets/img/logo.png'
import './index.less'

class SiderNav extends React.Component {
  constructor(props) {
    super(props);
  }   

  render() {
    const { menus } = this.props
    return (
      <div style={{height: '100vh',overflowY:'scroll'}}>
        <div className="logo">
            <img className="github"  src={log} height="35" width="35" />
            <span className="author white">混沌福利</span>
        </div>
        <CustomMenu style={{ paddingTop: 75 }} menus={menus}/>
      </div>
    )
  }
}

export default SiderNav
